


module.exports = {
    presets: [
        ["@babel/preset-env"],  // 编译es6语法
        ["@babel/preset-react"],  // 编译jsx语法
    ],
    plugins: [
        ["@babel/plugin-proposal-decorators", { "version": "legacy" }],
        "@babel/plugin-proposal-class-properties"
    ]
}